package factory.service;

import codeManageInfo.domain.CodeConfiguration;
import codeManageInfo.domain.CodeManageInfo;
import codeManageInfo.dto.AddCodeDTO;
import codeManageInfo.dto.QueryDTO;
import codeManageInfo.vo.CodeManageInfoVO;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import databaseManageInfo.dto.DatabaseManageDTO;
import databaseManageInfo.vo.DatabaseManageInfoVO;
import result.PageDTO;

import java.util.List;

public interface CodeManageService extends IService<CodeManageInfo> {
    public Page<CodeManageInfoVO> pageAll(PageDTO pageDTO);

    public Page<CodeManageInfoVO> pageAllByQuery(QueryDTO queryDTO);

    public List<CodeConfiguration> getConfigurationByCodeId(Integer id);

    public Boolean addCode(AddCodeDTO addCodeDTO);

    public Boolean updateStatic(Integer id);

    public Boolean updateCode(Integer id,AddCodeDTO addCodeDTO);
}
